/*
 * Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
 * http://github.com/fonoster/fonoster
 *
 * This file is part of Fonoster
 *
 * Licensed under the MIT License (the "License");
 * you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 *
 *    https://opensource.org/licenses/MIT
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { memo } from "react";
import { useTheme } from "@mui/material/styles";

export const LogoLarge = memo(() => {
  const theme = useTheme();

  const textColor = theme.palette.mode === "dark" ? "#FFFFFF" : "#053204";

  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width="100"
      height="21"
      viewBox="0 0 100 21"
      fill="none"
    >
      <path
        d="M25.9463 16.8757V4.47241H34.4748V6.98801H28.8481V9.66084H33.484V11.9843H28.8481V16.8757H25.9463Z"
        fill={textColor}
      />
      <path
        d="M39.678 17.0504C38.8877 17.0504 38.1799 16.9223 37.5547 16.6661C36.9413 16.4099 36.4223 16.0605 35.9976 15.6179C35.573 15.1754 35.2486 14.6688 35.0245 14.0981C34.8121 13.5274 34.706 12.9276 34.706 12.2987C34.706 11.6582 34.8121 11.0526 35.0245 10.4819C35.2486 9.91124 35.573 9.40462 35.9976 8.96206C36.4223 8.5195 36.9413 8.17011 37.5547 7.9139C38.1799 7.65768 38.8877 7.52957 39.678 7.52957C40.4683 7.52957 41.1702 7.65768 41.7836 7.9139C42.397 8.17011 42.916 8.5195 43.3407 8.96206C43.7653 9.40462 44.0897 9.91124 44.3139 10.4819C44.538 11.0526 44.65 11.6582 44.65 12.2987C44.65 12.9276 44.538 13.5274 44.3139 14.0981C44.0897 14.6688 43.7653 15.1754 43.3407 15.6179C42.916 16.0605 42.397 16.4099 41.7836 16.6661C41.1702 16.9223 40.4683 17.0504 39.678 17.0504ZM37.6078 12.2987C37.6078 12.7762 37.6963 13.1955 37.8732 13.5565C38.0619 13.9176 38.3097 14.1971 38.6164 14.3951C38.9231 14.5931 39.2769 14.692 39.678 14.692C40.0673 14.692 40.4153 14.5931 40.722 14.3951C41.0404 14.1854 41.2882 13.9001 41.4651 13.5391C41.642 13.178 41.7305 12.7646 41.7305 12.2987C41.7305 11.8212 41.642 11.402 41.4651 11.0409C41.2882 10.6799 41.0404 10.4004 40.722 10.2024C40.4153 10.0044 40.0673 9.90541 39.678 9.90541C39.2769 9.90541 38.9231 10.0044 38.6164 10.2024C38.3097 10.4004 38.0619 10.6799 37.8732 11.0409C37.6963 11.402 37.6078 11.8212 37.6078 12.2987Z"
        fill={textColor}
      />
      <path
        d="M55.0073 16.8757H52.1762V11.7222C52.1762 11.1166 52.0583 10.6799 51.8224 10.412C51.5982 10.1325 51.2974 9.99276 50.92 9.99276C50.6604 9.99276 50.395 10.0626 50.1237 10.2024C49.8524 10.3421 49.6047 10.5343 49.3806 10.7789C49.1682 11.0235 49.0031 11.303 48.8851 11.6174V16.8757H46.0541V7.70426H48.602V9.24157C48.838 8.88054 49.1329 8.57191 49.4867 8.31569C49.8406 8.05947 50.2476 7.86731 50.7076 7.7392C51.1677 7.59945 51.669 7.52957 52.2116 7.52957C52.8132 7.52957 53.2969 7.64021 53.6625 7.86149C54.04 8.07112 54.3231 8.35063 54.5119 8.70002C54.7124 9.04941 54.8421 9.42791 54.9011 9.83554C54.9719 10.2315 55.0073 10.6217 55.0073 11.006V16.8757Z"
        fill={textColor}
      />
      <path
        d="M61.3118 17.0504C60.5214 17.0504 59.8137 16.9223 59.1885 16.6661C58.5751 16.4099 58.0561 16.0605 57.6314 15.6179C57.2068 15.1754 56.8824 14.6688 56.6582 14.0981C56.4459 13.5274 56.3397 12.9276 56.3397 12.2987C56.3397 11.6582 56.4459 11.0526 56.6582 10.4819C56.8824 9.91124 57.2068 9.40462 57.6314 8.96206C58.0561 8.5195 58.5751 8.17011 59.1885 7.9139C59.8137 7.65768 60.5214 7.52957 61.3118 7.52957C62.1021 7.52957 62.804 7.65768 63.4174 7.9139C64.0308 8.17011 64.5498 8.5195 64.9745 8.96206C65.3991 9.40462 65.7235 9.91124 65.9476 10.4819C66.1717 11.0526 66.2838 11.6582 66.2838 12.2987C66.2838 12.9276 66.1717 13.5274 65.9476 14.0981C65.7235 14.6688 65.3991 15.1754 64.9745 15.6179C64.5498 16.0605 64.0308 16.4099 63.4174 16.6661C62.804 16.9223 62.1021 17.0504 61.3118 17.0504ZM59.2416 12.2987C59.2416 12.7762 59.33 13.1955 59.507 13.5565C59.6957 13.9176 59.9434 14.1971 60.2501 14.3951C60.5568 14.5931 60.9107 14.692 61.3118 14.692C61.701 14.692 62.049 14.5931 62.3557 14.3951C62.6742 14.1854 62.9219 13.9001 63.0989 13.5391C63.2758 13.178 63.3643 12.7646 63.3643 12.2987C63.3643 11.8212 63.2758 11.402 63.0989 11.0409C62.9219 10.6799 62.6742 10.4004 62.3557 10.2024C62.049 10.0044 61.701 9.90541 61.3118 9.90541C60.9107 9.90541 60.5568 10.0044 60.2501 10.2024C59.9434 10.4004 59.6957 10.6799 59.507 11.0409C59.33 11.402 59.2416 11.8212 59.2416 12.2987Z"
        fill={textColor}
      />
      <path
        d="M71.2444 17.0504C70.454 17.0504 69.6814 16.9223 68.9264 16.6661C68.1715 16.4099 67.5345 16.0314 67.0155 15.5306L67.9887 13.7662C68.5549 14.1738 69.1034 14.4824 69.6342 14.692C70.1768 14.9017 70.6841 15.0065 71.1559 15.0065C71.5216 15.0065 71.8047 14.9483 72.0052 14.8318C72.2058 14.7153 72.306 14.5348 72.306 14.2902C72.306 14.1156 72.247 13.9816 72.1291 13.8884C72.0111 13.7836 71.8283 13.6905 71.5806 13.6089C71.3446 13.5274 71.0497 13.4401 70.6959 13.3469C69.9881 13.114 69.3983 12.8869 68.9264 12.6656C68.4546 12.4443 68.1007 12.1764 67.8648 11.862C67.6289 11.5359 67.5109 11.1166 67.5109 10.6042C67.5109 9.98694 67.6643 9.45121 67.971 8.997C68.2895 8.53115 68.7377 8.17011 69.3157 7.9139C69.8937 7.65768 70.5838 7.52957 71.3859 7.52957C72.0229 7.52957 72.6422 7.62856 73.2438 7.82655C73.8572 8.02453 74.4293 8.35645 74.9601 8.82231L73.8631 10.5693C73.3323 10.2082 72.8604 9.94618 72.4476 9.78313C72.0347 9.62008 71.6336 9.53856 71.2444 9.53856C71.0438 9.53856 70.861 9.56185 70.6959 9.60843C70.5307 9.65502 70.3951 9.73654 70.2889 9.853C70.1945 9.95782 70.1473 10.0976 70.1473 10.2723C70.1473 10.447 70.1945 10.5867 70.2889 10.6915C70.3951 10.7964 70.5543 10.8895 70.7666 10.971C70.9908 11.0409 71.268 11.1283 71.5983 11.2331C72.365 11.4544 73.002 11.6815 73.5092 11.9144C74.0164 12.1357 74.3939 12.4152 74.6416 12.7529C74.9011 13.079 75.0309 13.5158 75.0309 14.0631C75.0309 14.9948 74.6888 15.7286 74.0047 16.2643C73.3323 16.7884 72.4122 17.0504 71.2444 17.0504Z"
        fill={textColor}
      />
      <path
        d="M82.4299 16.3866C82.1704 16.4914 81.8814 16.5962 81.5629 16.701C81.2562 16.8058 80.9318 16.8874 80.5898 16.9456C80.2477 17.0155 79.9115 17.0504 79.5812 17.0504C79.1093 17.0504 78.6729 16.9747 78.2718 16.8233C77.8826 16.6603 77.57 16.3982 77.334 16.0372C77.1099 15.6762 76.9979 15.1987 76.9979 14.6047V9.81807H75.8123V7.70426H76.9979V4.78686H79.8289V7.70426H81.7222V9.81807H79.8289V13.6439C79.8289 13.9467 79.9056 14.168 80.0589 14.3077C80.2123 14.4358 80.4069 14.4999 80.6428 14.4999C80.8434 14.4999 81.0557 14.4649 81.2798 14.3951C81.5157 14.3252 81.7163 14.2495 81.8814 14.168L82.4299 16.3866Z"
        fill={textColor}
      />
      <path
        d="M87.8706 17.0504C87.0803 17.0504 86.3784 16.9281 85.765 16.6836C85.1516 16.4273 84.6267 16.0838 84.1902 15.6529C83.7656 15.222 83.4412 14.727 83.217 14.168C82.9929 13.5973 82.8809 13.0033 82.8809 12.3861C82.8809 11.501 83.0755 10.6974 83.4648 9.97529C83.8658 9.24157 84.4379 8.65344 85.1811 8.21088C85.9242 7.75667 86.8207 7.52957 87.8706 7.52957C88.9204 7.52957 89.811 7.75085 90.5424 8.19341C91.2855 8.63597 91.8518 9.21828 92.241 9.94035C92.6303 10.6508 92.8249 11.4253 92.8249 12.2638C92.8249 12.4268 92.8131 12.5899 92.7895 12.7529C92.7777 12.9043 92.7659 13.0383 92.7542 13.1547H85.8889C85.9242 13.5624 86.0363 13.9059 86.225 14.1854C86.4256 14.4649 86.6792 14.6804 86.9859 14.8318C87.2926 14.9716 87.617 15.0414 87.9591 15.0414C88.3837 15.0414 88.7789 14.9424 89.1446 14.7445C89.522 14.5465 89.7816 14.2786 89.9231 13.9409L92.3295 14.6047C92.0936 15.0822 91.7574 15.5073 91.3209 15.88C90.8963 16.241 90.389 16.5263 89.7992 16.736C89.2212 16.9456 88.5784 17.0504 87.8706 17.0504ZM85.8181 11.4427H89.8523C89.8051 11.0584 89.6931 10.7265 89.5161 10.447C89.3392 10.1558 89.1033 9.93453 88.8084 9.78313C88.5135 9.62008 88.1891 9.53856 87.8352 9.53856C87.4695 9.53856 87.1392 9.62008 86.8443 9.78313C86.5612 9.93453 86.3312 10.1558 86.1543 10.447C85.9773 10.7265 85.8653 11.0584 85.8181 11.4427Z"
        fill={textColor}
      />
      <path
        d="M100 10.0976C99.316 10.0976 98.6967 10.2082 98.1423 10.4295C97.5879 10.6391 97.1868 10.9536 96.9391 11.3728V16.8757H94.108V7.70426H96.7091V9.55602C97.0276 8.93877 97.4404 8.45545 97.9476 8.10606C98.4549 7.75667 98.9857 7.57615 99.5401 7.56451C99.6699 7.56451 99.7642 7.56451 99.8232 7.56451C99.894 7.56451 99.953 7.57033 100 7.58198V10.0976Z"
        fill={textColor}
      />
      <path
        d="M19.4595 9.85179C19.4595 4.46459 15.1033 0.0974121 9.72977 0.0974121C4.3562 0.0974121 6.29425e-05 4.46459 6.29425e-05 9.85179V20.8785H9.09522C14.8192 20.8785 19.4595 16.2265 19.4595 10.4879V9.85179Z"
        fill="#39E19E"
      />
    </svg>
  );
});

LogoLarge.displayName = "LogoLarge";
